echo Adding assemblies to the GAC...

REM --iisapp /a "SharePoint - 81" /r
set root=D:\Research\CodeArt\CamlQuery\CodeArt.SharePoint.CamlQuery
set path=D:\Research\CodeArt\CamlQuery\CodeArt.SharePoint.CamlQuery\CodeArt.SharePoint.SmartQuery

set gac=%path%\gacutil.exe

%gac% -if %root%\CodeArt.SharePoint.CAMLQuery\bin\Debug\CodeArt.SharePoint.CAMLQuery.dll
%gac% -if %path%\bin\Debug\CodeArt.SharePoint.SmartQuery.dll 

REM -- iisreset

REM --iisapp /a "SharePoint - 80" /r

c:\windows\system32\inetsrv\AppCmd Recycle AppPool "SharePoint - 80"
     
pause